<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>Net2Java: Getting Started</title>
</head>
<body style="background-image: url(../dnj_wm3.jpg);">
<div style="text-align: center; font-weight: bold;"><big><big>Getting
Started Using NET2Java<br>
</big></big>
<h6><big><big>January 4th 2007</big></big></h6>
<big><big><br>
<a href="https://net2java.dev.java.net/servlets/ProjectDocumentList">Be
sure to get the latest downloads: Check for the latest here</a><br>
<br>
install
the NET2Java
Library</big></big><br>
<ul>
  <li style="background-color: rgb(255, 255, 255);">make a
directory called <span style="font-style: italic;">dnj</span>
in your user home directory</li>
  <li style="background-color: rgb(255, 255, 255);"><span
 style="font-style: italic;">e.g. on windows create </span>C:\Documents
And Settings\Danny\dnj\</li>
  <li style="background-color: rgb(255, 255, 255);">unzip the <a
 href="https://net2java.dev.java.net/servlets/ProjectDocumentList">NET2Java
Library Archive</a> to the
directory you
just made</li>
</ul>
<big><big>install
the NET2Java
NetBeans Plugin<br>
<small><small>(I'm really sorry if you don't like NetBeans, I'll
put in the command line version of NET2Java soon)<br>
<br>
</small></small></big></big>
<ul>
  <li style="background-color: rgb(255, 255, 255);">In your <a
 href="http://www.netbeans.org/downloads/index.html">Netbeans
5.0</a>, from the <span style="font-style: italic;">Tools </span>menu,
open the <span style="font-style: italic;">Update Center</span></li>
  <li style="background-color: rgb(255, 255, 255);">Choose the
option to <span style="font-style: italic;">Install
Manually Downloaded Files (.nbm modules)</span>, hit <span
 style="font-style: italic;">Next</span></li>
  <li style="background-color: rgb(255, 255, 255);">Add the <a
 href="https://net2java.dev.java.net/servlets/ProjectDocumentList">NET2Java
Plugin</a> file, follow the
wizard
through to the end</li>
</ul>
<br>
<big><big>the
installation is <span style="font-style: italic;">SO</span>
over<br>
ready to translate some apps ?</big></big><br>
<br>
<ul>
  <li>unzip these <a
 href="https://net2java.dev.java.net/servlets/ProjectDocumentList">NET
samples</a> somewhere
handy</li>
  <li>From NetBeans, create a new project (select the Java
Application
template for example)</li>
  <li>Add the path to the .NET2Java library entry files and
classes to
your new project</li>
  <li><span style="font-style: italic;">e.g. In the </span>Project
Properties<span style="font-style: italic;"> dialog, select the </span>Libraries
    <span style="font-style: italic;">category and<br>
and add </span>C:\Documents And Settings\Danny\dnj\<span
 style="font-style: italic;"> by hitting the '</span>Add Jar/Folder<span
 style="font-style: italic;">' button</span></li>
  <li>Import your first .NET project, by choosing File -&gt;
ImportVB
top bring up the<span style="font-style: italic;"> Import Wizard</span></li>
  <li>Selecting the &lt;samples&gt;HelloWorldFromVB project
directory,
select 'Console app' and hit Finish</li>
  <li>You should see HelloWorldFromVB...in Java</li>
</ul>
</div>
<br style="font-weight: bold;">
<div
 style="text-align: center; font-weight: bold; background-color: rgb(255, 255, 255);">
<div style="background-color: rgb(255, 255, 255);"><a href="index.html"><big
 style="font-weight: bold;"><big><img alt="" src="dnj.jpg"
 style="border: 0px solid ; width: 95px; height: 45px;"></big></big></a></div>
<div style="text-align: center;"><br style="font-weight: bold;">
</div>
</div>
<div style="text-align: center;"> <big style="font-weight: bold;"><big><small><small>Enjoy
the other demos (using this <a href="DemoGuide.html">handy guide</a>),
have a go with other
apps you can find (hint: Microsoft's MSDN has plenty...)</small></small></big></big><br
 style="font-weight: bold;">
<br style="font-weight: bold;">
<big style="font-weight: bold;"><big><small><small>or...did you have
problems ? </small></small></big></big><br style="font-weight: bold;">
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big>I'm
sorry to hear that :-(<small><small> </small></small></big></big></font></font><br>
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big><small><small>Usually the problem will be that
there will be portions of the
application <br>
that use .NET API calls that have not yet been entered with
a Java equivalent in the Library. <br>
You can check yourself to see what's
in the Library by choosing in NetBeans</small></small></big></big></font></font><br>
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big><small><small> </small></small></big></big></font></font>
</div>
<ul style="font-weight: bold; text-align: center;">
  <li><font face="Courier New,Courier"><font size="-1"><big><big><small><small><span
 style="font-style: italic;">Tools -&gt; .NET Library -&gt; Edit Entries</span></small></small></big></big></font></font></li>
</ul>
<div style="text-align: center;"> <font style="font-weight: bold;"
 face="Courier New,Courier"><font size="-1"><big><big><small><small>Maybe
you will even work out how to add your own translations to the Library.
<br>
I will be documenting that soon for you. But for now,</small></small></big></big></font></font><br>
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big><small><small> </small></small></big></big></font></font><br>
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big><small><small> <span style="font-style: italic;"></span></small></small></big></big></font></font>
<font style="font-weight: bold;" face="Courier New,Courier"><font
 size="-1"><big><big><small><small>would
you drop me a note</small></small></big></big>: <a
 href="mailto:danny%20dot%20coward%20at%20sun%20dot%20com">danny dot
coward at sun dot com</a></font></font><span style="font-weight: bold;">&nbsp;
</span><br style="font-weight: bold;">
<span style="font-weight: bold;">and let me know how you get along ?</span><br>
</div>
<br style="font-weight: bold;">
<br>
</body>
</html>